import java.util.Arrays;
import java.util.Scanner;

class Cat{
    private String name;
    private int age;
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getAge() {
        return age;
    }
    public void setAge(int age) {
        this.age = age;
    }
}
class Dog{
    String name;
    int age;

    public void eat(){

    }
    public Dog(){
        this("yiyi",11);
    }
    public Dog(String name,int age){
    }
}
class Student{
    public String name;
    public int age;
    public static String classname;
}
public class Text {
    public static void main(String[] args) {
        Student student1=new Student();
        Student student2=new Student();
        student1.classname="1班";
        Student.classname="1班"；
    }
    public static void main3(String[] args) {
        Scanner sca=new Scanner(System.in);
        int arr[]={1,2,3};
        System.out.println(Arrays.toString(arr));
    }
    public static void main2(String[] args) {
        int a=1;
        System.out.println(a);
        Dog dog=new Dog();
        dog.eat();
        System.out.println(dog.name);
    }
    public static void func(int []arr){
        for (int i = 0; i < arr.length; i++) {
            arr[i]+=2;
        }
    }
    public static void main1(String[] args) {
        int []arr={1,2,3};
        func(arr);
        System.out.println(Arrays.toString(arr));
    }
}
